package com.hj.domain;

public class Player extends Person{
    public String action;
    public String score;

    public Player() {
    }

    public Player(String name, int age, String sex, String action, String score) {
        super(name, age, sex);
        this.action = action;
        this.score = score;
    }

    @Override
    public void introduction() {
        super.introduction();
        System.out.println("我最擅长的运动项目是"+action);
        System.out.println("历史最好成绩是"+score);
    }
}
